Samples must be either 1, 2, 4, 8, or 16 bits. Colorimetric
samples/pixel must be either 1, 3, or 4 (i.e. _S_a_m_p_l_e_s_P_e_r_P_i_x_e_l minus
_E_x_t_r_a_S_a_m_p_l_e_s).
Palettte image colormaps that appear to be incorrectly written as 8-bit
values are automatically scaled to 16-bits.
RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEESSSS
All routines return 1 if the operation was successful. Otherwise, 0 is
returned if an error was encountered and _s_t_o_p_O_n_E_r_r_o_r is zero.
DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
All error messages are directed to the _T_I_F_F_E_r_r_o_r(3T) routine.
SSSSoooorrrrrrrryyyy,,,, ccccaaaannnn nnnnooootttt hhhhaaaannnnddddlllleeee %%%%dddd----bbbbiiiitttt ppppiiiiccccttttuuuurrrreeeessss. The image had _B_i_t_s_P_e_r_S_a_m_p_l_e other
than 1, 2, 4, 8, or 16.
SSSSoooorrrrrrrryyyy,,,, ccccaaaannnn nnnnooootttt hhhhaaaannnnddddlllleeee %%%%dddd----cccchhhhaaaannnnnnnneeeellll iiiimmmmaaaaggggeeeessss. The image had _S_a_m_p_l_e_s_P_e_r_P_i_x_e_l
other than 1, 3, or 4.
MMMMiiiissssssssiiiinnnngggg nnnneeeeeeeeddddeeeedddd """"PPPPhhhhoooottttoooommmmeeeettttrrrriiiiccccIIIInnnntttteeeerrrrpppprrrreeeettttaaaattttiiiioooonnnn"""" ttttaaaagggg. The image did not have a
tag that describes how to display the data.
NNNNoooo """"PPPPhhhhoooottttoooommmmeeeettttrrrriiiiccccIIIInnnntttteeeerrrrpppprrrreeeettttaaaattttiiiioooonnnn"""" ttttaaaagggg,,,, aaaassssssssuuuummmmiiiinnnngggg RRRRGGGGBBBB. The image was missing
a tag that describes how to display it, but because it has 3 or 4
samples/pixel, it is assumed to be RGB.
NNNNoooo """"PPPPhhhhoooottttoooommmmeeeettttrrrriiiiccccIIIInnnntttteeeerrrrpppprrrreeeettttaaaattttiiiioooonnnn"""" ttttaaaagggg,,,, aaaassssssssuuuummmmiiiinnnngggg mmmmiiiinnnn----iiiissss----bbbbllllaaaacccckkkk. The image was
missing a tag that describes how to display it, but because it has 1
sample/pixel, it is assumed to be a grayscale or bilevel image.
NNNNoooo ssssppppaaaacccceeee ffffoooorrrr pppphhhhoooottttoooommmmeeeettttrrrriiiicccc ccccoooonnnnvvvveeeerrrrssssiiiioooonnnn ttttaaaabbbblllleeee. There was insufficient memory
for a table used to convert image samples to 8-bit RGB.
MMMMiiiissssssssiiiinnnngggg rrrreeeeqqqquuuuiiiirrrreeeedddd """"CCCCoooolllloooorrrrmmmmaaaapppp"""" ttttaaaagggg. A Palette image did not have a required
_C_o_l_o_r_m_a_p tag.
NNNNoooo ssssppppaaaacccceeee ffffoooorrrr ttttiiiilllleeee bbbbuuuuffffffffeeeerrrr. There was insufficient memory to allocate an
i/o buffer.
NNNNoooo ssssppppaaaacccceeee ffffoooorrrr ssssttttrrrriiiipppp bbbbuuuuffffffffeeeerrrr. There was insufficient memory to allocate an
i/o buffer.
CCCCaaaannnn nnnnooootttt hhhhaaaannnnddddlllleeee ffffoooorrrrmmmmaaaatttt. The image has a format (combination of
_B_i_t_s_P_e_r_S_a_m_p_l_e, _S_a_m_p_l_e_s_P_e_r_P_i_x_e_l, and _P_h_o_t_o_m_e_t_r_i_c_I_n_t_e_r_p_r_e_t_a_t_i_o_n) that can
not be handled.
NNNNoooo ssssppppaaaacccceeee ffffoooorrrr BBBB&&&&WWWW mmmmaaaappppppppiiiinnnngggg ttttaaaabbbblllleeee. There was insufficient memory to
allocate a table used to map grayscale data to RGB.
NNNNoooo ssssppppaaaacccceeee ffffoooorrrr PPPPaaaalllleeeetttttttteeee mmmmaaaappppppppiiiinnnngggg ttttaaaabbbblllleeee. There was insufficient memory to
allocate a table used to map data to 8-bit RGB.
BBBBUUUUGGGGSSSS
Orientations other than bottom-left, or top-left are not handled